package com.lwc.exception;

import com.lwc.bean.ResultCode;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class BaseException extends RuntimeException {

	private static final long serialVersionUID = 8179718943181966093L;

	protected ResultCode resultCode;

	public BaseException(ResultCode resultCode) {
		super();
		this.resultCode = resultCode;
	}

	public BaseException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
	}

	public BaseException(String message, Throwable cause) {
		super(message, cause);
	}

	public BaseException(String message) {
		super(message);
	}

	public BaseException(Throwable cause) {
		super(cause);
	}

}
